<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<html>
	<head>
		<link href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" rel="stylesheet" type="text/css" />
		<link href="<%= request.getContextPath() %>/css/basic.css" rel="stylesheet" type="text/css">
		<link href="<%= request.getContextPath() %>/css/exvalidation.css" rel="stylesheet" type="text/css">
		<script src="http://www.google.com/jsapi"></script>
		<script>
			google.load("jquery", "1.7.1");
		</script>
		<title>イベント詳細</title>
	</head>
	<body>
		<form>
			<h1>Event Detail...</h1>
			<fieldset id="event-details" style="float:left;width:230px;">
				<label for="name">イベント名</label>
				<div id="disp"><c:out value="${event.name}" escapeXml="false"/></div>

				<label for="day1">予定日1</label>
				<div id="disp"><c:out value="${event.day1}" escapeXml="false"/></div>
				<c:if test="${!empty event.day2}" >
					<label for="day2">予定日2</label>
					<div id="disp"><c:out value="${event.day2}" escapeXml="false"/></div>
				</c:if>
				<c:if test="${!empty event.day3}" >
					<label for="day3">予定日3</label>
					<div id="disp"><c:out value="${event.day3}" escapeXml="false"/></div>
				</c:if>
				<c:if test="${!empty event.day4}" >
					<label for="day4">予定日4</label>
					<div id="disp"><c:out value="${event.day4}" escapeXml="false"/></div>
				</c:if>
				<c:if test="${!empty event.day5}" >
					<label for="day5">予定日5</label>
					<div id="disp"><c:out value="${event.day5}" escapeXml="false"/></div>
				</c:if>
			</fieldset>
			<fieldset id="event-resume" style="float:right;width:405px;">
				<label for="resume">詳細</label>
				<div id="disp"><c:out value="${event.resume}" escapeXml="false"/></div>
			</fieldset>
		</form>
	</body>
</html>
